const menus = [{
    id: 999,
    parentId: null,
    path: '/dashboard',
    component: '/layout',
    redirect: '/userMgt/user',
    alwaysShow: true, // will always show the root menu
    name: '',
    title: '菜单',
    icon: '',
    hidden: true,
    roles: [],
    children:[
        {
            id: 0,
            parentId: null,
            path: '/dashboard',
            component: '/layout',
            redirect: '/userMgt/user',
            alwaysShow: true, // will always show the root menu
            name: 'Dashbord',
            title: '首页',
            icon: 'icon-dashboard',
            hidden: false,
            roles: ['admin', 'editor']
          }, {
            id: 1,
            parentId: null,
            path: '/userMgt',
            component: '/layout',
            redirect: '/userMgt/user',
            alwaysShow: true, // will always show the root menu
            name: 'UserMgtSys',
            title: '用户管理',
            icon: 'user',
            children: [{
              id: 10,
              parentId: 1,
              path: 'user',
              component: 'userMgt/userMgt',
              name: 'UserMgt',
              title: '用户管理',
              roles: ['admin'] // or you can only set roles in sub nav
            }, {
              id: 11,
              parentId: 1,
              path: 'role',
              component: 'userMgt/roleMgt',
              name: 'RoleMgt',
              title: '角色管理',
              roles: ['admin']
            }, {
              id: 12,
              parentId: 1,
              path: 'menu',
              component: 'userMgt/menuMgt',
              name: 'MenuMgt',
              title: '菜单管理',
              icon: 'el-icon-menu',
              roles: ['admin', 'editor']
            }]
          }
    ]
  },]
export default menus
